<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    <input type="radio" value="1" v-model="value"/><label>选项1</label>
    <input type="radio" value="2" v-model="value"/><label>选项2</label>
  </div>
  <div id="app1">
    <p>{{value2}}</p>
    <input type="checkbox" id="v3" value="选项1" v-model="value2"/>
    <label for="v3">选项1</label>
    <br>
    <p>{{value1}}</p>
    <input type="checkbox" id="v1" value="选项1" v-model="value1"/>
    <label for="v1">选项1</label>
    <input type="checkbox" id="v2" value="选项2" v-model="value1"/>
    <label for="v2">选项2</label>
  </div>
</body>
<script src="./lib/vue.js"></script>
<script>
  var vm = new Vue({
    el: "#app",
    data: {
      value: 2
    }
  })
  var vm1 = new Vue({
    el: "#app1",
    data: {
      value1: [],
      value2: ''
    }
  })
</script>
</html>